from PCManX import SendString

def SendLeft(handle):
	SendString(handle, "\x1bOD")
def SendRight(handle):
	SendString(handle, "\x1bOC")
def SendUp(handle):
	SendString(handle, "\x1bOA")
def SendDown(handle):
	SendString(handle, "\x1bOB")
def SendBackSpace(handle):
	SendString(handle, "\b")
def SendReturn(handle):
	SendString(handle, "\r")
def SendDelete(handle):
	SendString(handle, "\x1b[3~")
def SendInsert(handle):
	SendString(handle, "\x1b[2~")
def SendHome(handle):
	SendString(handle, "\x1b[2~")
def SendEnd(handle):
	SendString(handle, "\x1b[4~")
def SendPageUp(handle):
	SendString(handle, "\x1b[5~")
def SendPageDown(handle):
	SendString(handle, "\x1b[6~")
def SendTab(handle):
	SendString(handle, "\t")
def SendEsc(handle):
	SendString(handle, "\x1b")
